<?php
/**
 * User: aka
 * Date: 2018/6/27
 * Time: 18:21
 */

namespace app\reception\controller;


use app\common\db\DbOperation;
use app\common\request\RequestOperation;

class Front
{
    public $dbOperation;
    public $requestOperation;

    public function __construct()
    {
        $this->dbOperation = new DbOperation();
        $this->requestOperation = new RequestOperation();
    }

    public function __destruct()
    {
        unset($this->dbOperation);
        unset($this->requestOperation);
    }

    protected function getDbOperation() : DbOperation
    {
        return $this->dbOperation;
    }

    protected function getRequest() : RequestOperation
    {
        return $this->requestOperation;
    }
}